import { get, post } from '@/utils/request'

export const list = (params) => get('/api/building/list', params)

export const del = (params) => get('/api/building/delete', params)

export const add = (data) => post('/api/building/add', data)
